# -*- coding:utf-8 -*-
from django_filters import filters
from django_filters.filterset import FilterSet

from Apps.Project.models import Project


class ProjectFilter(FilterSet):
    project_name = filters.CharFilter(field_name='project_name', lookup_expr='contains')

    class Meta:
        model = Project
        fields = ['project_name']
